@layout("/common/_form.html",{js:["/assets/modular/setting/client/client_add.js"]}){

<form class="layui-form" id="clientForm" lay-filter="clientForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input id="id" name="id" type="hidden"/>

                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label"><span style="color: red;">客户代码 *</span></label>
                        <div class="layui-input-block">
                            <input id="clientCode" name="clientCode" placeholder="" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label"><span style="color: red;">客户名称 *</span></label>
                        <div class="layui-input-block">
                            <input id="clientName" name="clientName" placeholder="" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">手机号码</label>
                        <div class="layui-input-block">
                            <input id="mobile" name="mobile" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">固定电话</label>
                        <div class="layui-input-block">
                            <input id="phone" name="phone" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">联系人</label>
                        <div class="layui-input-block">
                            <input id="linkMan" name="linkMan" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">外部编码</label>
                        <div class="layui-input-block">
                            <input id="outerCode" name="outerCode" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">开户行账号</label>
                        <div class="layui-input-block">
                            <input id="bankAccount" name="bankAccount" placeholder="" type="number" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">开户行名称</label>
                        <div class="layui-input-block">
                            <input id="bankName" name="bankName" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md8">
                        <label class="layui-form-label">登记地址</label>
                        <div class="layui-input-block">
                            <input id="address" name="address" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">税率</label>
                        <div class="layui-input-block">
                            <input id="contactTax" name="contactTax" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">授信额度</label>
                        <div class="layui-input-block">
                            <input id="creditLine" name="creditLine" placeholder="" type="number" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">授信等级</label>
                        <div class="layui-input-block">
                            <input id="creditPeriod" name="creditPeriod" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">折扣</label>
                        <div class="layui-input-block">
                            <input id="discount" name="discount" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">结算方式</label>
                        <div class="layui-input-block">
                            <input id="payType" name="payType" placeholder="" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">单位类型</label>
                        <div class="layui-input-block">
                            <input type="hidden" id="contactType" name="contactType">
                            <select name="contactTypeId" lay-filter="contactTypeId" id="contactTypeId">
                                <option value="">请选择单位类型</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">停用</label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="state" name="state" lay-skin="switch" lay-text="是|否" lay-filter="state" checked >
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea id="remark" name="remark" placeholder="" placeholder="请输入内容" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}